<link rel="shortcut icon" href="__ROOT__/favicon.ico" />
<link href="__ROOT__/{:C('YTATA_TPL_DIR')}/public/css/common.css" rel="stylesheet" type="text/css">
<script src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/jquery.min.js"></script>
<script src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/jquery.dialog.js"></script>
<script src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/common.js"></script>
<script src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/jquery.disappear.tooltip.js"></script>
<script src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/layer/layer.js"></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="__ROOT__/{:C('YTATA_TPL_DIR')}/public/js/PIE.js"></script>
  <script type="text/javascript">
    (function($){
        $.pie = function(name, v){
            // 如果没有加载 PIE 则直接终止
            if (! PIE) return false;
            // 是否 jQuery 对象或者选择器名称
            var obj = typeof name == 'object' ? name : $(name);
            // 指定运行插件的 IE 浏览器版本
            var version = 9;
            // 未指定则默认使用 ie10 以下全兼容模式
            if (typeof v != 'number' && v < 9) {
                version = v;
            }
            // 可对指定的多个 jQuery 对象进行样式兼容
            if ($.browser.msie && obj.size() > 0) {
                if ($.browser.version*1 <= version*1) {
                    obj.each(function(){
                        PIE.attach(this);
                    });
                }
            }
        }
    })(jQuery);
    if ($.browser.msie) {
      $.pie('.pie_about');
    };
  </script>
<![endif]-->
<script type="text/javascript">
var ajaxURL="{:RU('ajax/view')}";
</script>
</head>

<body>

<div class="pagetop">
		<div class="main">
          <div class="welcome link_orange" id="J_welcome">欢迎登录 {:C('YTATA_SITE_NAME')}！请 <span><a href="Javascript: void(0)" class="J_user_login">登录</a></span>或<span><a href="Javascript: void(0)" class="J_user_reg">注册</a></span></div>
          <div class="menu link_gray6"><a href="{:C('YTATA_SITE_DOMAIN')}__ROOT__/" class="home">网站首页</a>
		  
		  <!-- <a href="#" class="ranking">排行榜</a> <a href="#" class="category">问题分类</a> <a href="#" class="mall">积分商城</a> -->
		   
		   </div>
        	<div class="clear"></div>
        </div>
</div>

<div class="header">
  <div class="logo"><a href="__ROOT__/"><img src="{:C('YTATA_SITE_LOGO')}"  alt="{:C('YTATA_SITE_NAME')}" border="0"/></a></div>
  <div class="so"></div>
  <div class="clear"></div>
</div>

<div class="pagenav">
  <div class="navmain link_white">
  <ytata:nav listname="nav"/>
			<volist name="nav" id="nav">
			 <div class="li  <if condition="$page_as eq $nav['pagealias']">select</if>"><a href="{$nav.url}" target="{$nav.target}">{$nav.title}</a></div>
			</volist>
    <div class="clear"></div>
  </div>
</div>
